-
Home
-
Usercentrics Cookiebot – Cookie Banner & Privacy Compliance for GDPR/CCPA/Google Consent Mode
-
4.5.0
-
Code
-
Classes
- Cookiebot_Javascript_Helper
Total Complexity |
100 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
397 |
Lines of code |
289 |
Logical lines of code |
153 |
Comment lines |
41 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
include_cookiebot_js() |
A |
44 |
15 |
44 |
should_show_banner() |
A |
49 |
13 |
29 |
include_google_tag_manager_js() |
A |
47 |
12 |
32 |
include_google_consent_mode_js() |
A |
48 |
12 |
30 |
get_data_regions() |
A |
52 |
11 |
24 |
include_uc_cmp_js() |
A |
48 |
10 |
33 |
get_custom_tcf_restrictions() |
S |
60 |
5 |
12 |
get_hooks_by_frame() |
S |
57 |
4 |
17 |
get_consent_attribute() |
S |
64 |
4 |
10 |
include_publisher_restrictions_js() |
S |
53 |
2 |
24 |
parse_date() |
S |
66 |
3 |
8 |
debug_log() |
S |
72 |
3 |
5 |
get_custom_tcf_ids() |
S |
71 |
2 |
6 |
get_tcf_attribute() |
S |
65 |
2 |
9 |
register_hooks() |
S |
81 |
1 |
3 |
is_tcf_enabled() |
S |
79 |
1 |
3 |